package cn.pconline.autoclub.entity;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Transient;

/**
 * @author 作者 guoqiang
 * @version 2014-2-18 活动_论坛帖
 */
@Entity(tableName = "ac_activity_topic")
public class ActivityTopic {

    /**
     * ID
     */
    @Id
    @Column(name = "id")
    private long id;
    /**
     * 活动ID
     */
    @Column(name = "activity_id")
    private long activityId;
    /**
     * 论坛ID
     */
    @Column(name = "forum_id")
    private long formumId;
    /**
     * 帖子ID
     */
    @Column(name = "topic_id")
    private long topicId;
    /**
     * 论坛名称
     */
    @Transient(cache = false)
    private String formname;

    public String getFormname() {
        return formname;
    }

    public void setFormname(String formname) {
        this.formname = formname;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getActivityId() {
        return activityId;
    }

    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }

    public long getFormumId() {
        return formumId;
    }

    public void setFormumId(long formumId) {
        this.formumId = formumId;
    }

    public long getTopicId() {
        return topicId;
    }

    public void setTopicId(long topicId) {
        this.topicId = topicId;
    }
}
